<div class="content">
	<h2>
		Sự Kiện
	</h2>

	<div class="content_text">
		<?php if($event == null) : ?>
		<span style="color:red;font-weight:bold;">Hiện tại chưa có sự kiện nào</span>
		<?php else : ?>
			<ul class="event_list">
			<?php foreach($event as $e): ?>
				<li>
					<a href="#"><img class="event_thumb small_thumb" src="images/event_thumb1.png"></a>
					<p class="event_info">
						<a href="<?php echo Yii::app()->createAbsoluteUrl("su-kien/"); ?>/<?php echo $e['id'] ?>" class="event_title"><?php echo $e['title']; ?></a><br/>
						<img class="event_icon" src="images/event_date.png">
						<strong>Thời gian:</strong> <?php echo date("H:i", strtotime($e['datetime']));?> Ngày <?php echo date("d/m/Y", strtotime($e['datetime'])) ?><br/>
						<img class="event_icon" src="images/event_location.png"><strong>Địa điểm:</strong> <?php echo $e['place'] ?>
					</p>
				</li>
			<?php endforeach; ?>
			</ul>
		<?php endif; ?>
	</div>
</div>